<script setup lang='ts'>
import { reactive } from 'vue'

const visible = defineModel<boolean>()

const form = reactive({
})
</script>

<template>
  <el-dialog
    v-model="visible"
    title="发起资产申请流程"
    width="600px"
    :before-close="() => visible = false"
  >
    <el-form :model="form" label-width="auto" style="max-width: 600px">
      <el-form-item label="资产*">
        <el-input type="textarea" />
      </el-form-item>
      <el-form-item label="数量*">
        <el-input type="textarea" />
      </el-form-item>
      <el-form-item label="描述">
        <el-input type="textarea" />
      </el-form-item>
    </el-form>

    <template #footer>
      <span>
        <el-button @click=" visible = false">关闭</el-button>
        <el-button type="primary" @click="visible = false">确定</el-button>
      </span>
    </template>
  </el-dialog>
</template>
